Skip to content

Conversation

@eisenwave
Copy link
Member

[func.wrap.func.con] p3 contains the ill-formed call

f.target()

To make a call to target(), it is necessary to provide the target type explicitly. Furthermore, this wording implies that the pointer returned by target() is copied, not the object itself, which is obviously not intended.

To fix this, we can copy the more recent wording from [func.wrap.copy.ctor] p3.

@jensmaurer jensmaurer merged commit eb9872a into cplusplus:main Oct 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants